Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE
Cursors
The Progress 4GL uses cursors to keep track of where it is in a file. A cursor is like a pointer that points to consecutive records in a file. For example, the Progress 4GL uses cursors when it processes
FOREACHtypes of statements. The Progress 4GL maintains cursor positioning across queries.The DataServer supports this behavior for ORACLE tables that have a mandatory unique index on an integer column or that contain the
PROGRESS_RECIDcolumn. (The Progress-to-ORACLE migration utility creates an indexedNUMBERcolumn namedPROGRESS_RECIDwith unique values for the rows in each ORACLE table.)Suppose that you are reading records from the customer file using the
cust-numindex, and your “current” record iscustomernumber 50. This means that the Progress 4GL has a cursor positioned atcust-num50.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |